<?php

namespace app\common\biz\list;

use \app\common\enum\SearchType as SearchTypeEnum;

class SearchType
{

    private array $map = [];

    public function get(): array
    {
        return $this->map;
    }

    public function set(string $key, SearchTypeEnum $code): void
    {
        $this->map[$key] = $code;
    }
}